export default {
  inserted(el, option) {
    console.log(el)
    console.log(option)

    el.addEventListener('error', () => {
      // el.src = require('@/assets/common/head.jpg')
      el.src = option.value
    })
    // el.src = el.src || require('@/assets/common/head.jpg')
    el.src = el.src || option.value
  }
}
